[1] TRUE
[1] "S3"
[1] "data.frame"
Lecture 9
is.object() or otype() from the sloop package.adding_1UseMethod defines the name of the method.adding_1 should do in case we have a list data structure:adding_1 to listsadding_1 should do in case we have a data.frame data structureadding_1 behaves differently depending on the S3 classadding_1 to this newly created classadding_1 to this newly created class